package xx.procustom.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

@Controller
public class LoginController {

    @PostMapping("/home")
    public String toHome(){
        return "redirect:home.html";
    }

    @PostMapping("/toError")
    public String toError(){
        return "redirect:error.html";
    }

}
